//
//  StateManager.h
//  Space shooting
//
//  Created by Raiden on 9/2/13.
//
//

#ifndef __Space_shooting__StateManager__
#define __Space_shooting__StateManager__

#include <iostream>
#include "cocos2d.h"

using namespace cocos2d;

class StateManager {
    
protected:
    
    CCDirector                  *m_director;
    CCScene                     *m_scene;
    CCLayer                     *m_layer;
    
public:
    
    static StateManager* getInstance();
    
    virtual bool init();
    
    void switchScene(int state);

};

#endif /* defined(__Space_shooting__StateManager__) */
